package JAVACORE_TRAINING.OOPS_CONCEPTS.MVCMODEL;

public class StudentControllers {
	
	/***
	 * 
	 * @param objStudent
	 * @param isFlag = true: Thêm
	 * @param isFlag = false:  Cập nhật
	 * @return
	 */
	public boolean StudentMans(StudentObject objStudent, boolean isFlag){
		StudentModel objModel = new StudentModel();
		if(isFlag)
			objModel.InsertElement(objStudent);
		else
			objModel.UpdateElement(objStudent);
		return true;
	}
}
